<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<div id="">
			<h3>选择网页自动跳转</h2>
			<select id="select" onchange="change()">
				<option value ="">选择网页</option>
				<option value ="http://www.baidu.com">百度</option>
				<option value ="http://www.163.com">网易</option>
				<option value ="http://www.taobao.com">淘宝</option>
			</select>
		</div>
	</body>
	<script type="text/javascript" charset="utf-8">
		function change(){
			var web = document.getElementById('select').value;
			location.href = web;
		}
	</script>
</html>
